/*
 * 订单基类
 * @author: huangzong
 */
import C from '@/common/common.js'

class Order {
  /*
     * 获取订单信息
     * filter信息的格式{filter: filter(string)}
     */
  async getOrderList (filter) {
    return C.ajax('/shop/order/orderlist', filter)
  }
}

export default new Order()
